<!--
 * @Author: your name
 * @Date: 2021-11-17 10:14:11
 * @LastEditTime: 2021-11-17 14:52:03
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \app\src\views\vant\index.vue
-->
<template>
  <div>
    <van-cell
      v-for="({ title, to, icon }, index) in menu"
      :key="index"
      :title="title"
      :icon="icon"
      is-link
      :to="baseRouter + to"
    />
  </div>
</template>

<script>
export default {
  data() {
    return {
      baseRouter: "/vant",
      menu: [{ title: "瀑布流(mocks)", to: "/list", icon: "label-o" }],
    };
  },
};
</script>

<style lang="less" scoped>
</style>